import CTIcon from '@/components/CTIcon'
import CTButton from '@/components/CTButton'
import CTCard from '@/components/CTCard'
import CTDialog from '@/components/CTDialog'
import CTPager from '@/components/CTPager'
import CTCollapse from '@/components/CTCollapse'
import CTCollapseItem from '@/components/CTCollapseItem'
import CTTooltip from '@/components/CTTooltip'
import CTDropdown from '@/components/CTDropdown'

const components = [
  CTIcon,
  CTButton,
  CTCard,
  CTDialog,
  CTPager,
  CTCollapse,
  CTCollapseItem,
  CTTooltip,
  CTDropdown,
]

export default {
  install(app) {
    components.forEach((component) => {
      app.component(component.name, component)
    })
  },
}
